/*
 * @name: **列表
 * @content: 
 * @Author: joyce
 * @Date: 2020-06-04 09:47:11
 */ 

var mongoose = require('mongoose');

//广告表(Manager)

var AdvertisementSchema = new mongoose.Schema({
  Adimg:{type: String},//广告图片
  Adlabel:{type: String},//广告类型
  Adnum:{type: Number},//广告排序
  Adtitle:{type: String},//广告标题
  Adlink:{type: String},//广告链接
  Adshow:{type: Boolean},//是否展示
  addtime:{type:Date,default:new Date()},//发布时间
})

module.exports = mongoose.model('Advertisement', AdvertisementSchema)
